<div class="modal" id="eventSubscriptionsPanel">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal">x</button>
				<h4 class="modal-title">{{ EventSubscriptions_TitleList }}</h4>
			</div>
			<div class="modal-body">
				<div class="container">
					<div ng-controller="eventsubscriptionscontroller">
						<img ng-show="loadingEventSubscriptions" style="width:25px;height:25px" alt="{{ Main_Loading }}" src="Resources/Pictures/ajax-loader.gif" />
						<div class="widget-box" id="recent-box" ng-hide="loadingEventSubscriptions">
							<div class="widget-header header-color-blue">
								<div class="row">
									<div class="col-sm-3">
										<input type="text" ng-model="filterEventSubscription" class="form-control search header-elements-margin" placeholder="{{ Main_Filter }}">
									</div>
								</div>
							</div>
							<div class="widget-body">
								<table ng-show="!loadingEventSubscriptions" style="margin-top:10px">
									<tr ng-repeat="eventsubscription in eventsubscriptions | filter : filterEventSubscription">
										<td style="padding:5px"> #{{ eventsubscription.Id }} </td>
										<td style="padding:5px">{{ eventsubscription.Event.Title }} </td>
										<td style="padding:5px">{{ eventsubscription.User.Firstname }} {{ eventsubscription.User.Lastname }}</td>
										<td style="padding:5px">{{ EventSubscriptions_States }} </td>
										<td style="padding:5px"><select class="form-control" data-ng-options="eventSubscriptionState for eventSubscriptionState in eventSubscriptionsStates" data-ng-model="eventsubscription.State" ng-change="updateEventSubscriptionCommand(eventsubscription)"></select></td>
									</tr>
								</table>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="modal-footer">
				<div id="eventSubscriptionMessage" class="alert alert-{{ messageType }} alert-dismissible" role="alert" ng-show="eventSubscriptionMessageVisible">
					<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					{{ messageLabel }}
				</div>
			</div>
		</div>
	</div>
</div>